//
//  SplashActivity.swift
//  ios_guard
//
//  Created by linus on 2021/11/19.
//

import UIKit
import SVGKit

class SplashActivity: UIViewController {

    @IBOutlet weak var logoView: SVGKLayeredImageView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        let image = SVGKImage(named: "logo_pro.svg")
        image?.size = CGSize.init(width: 72, height: 206)
        logoView.image = image
        
        Timer.scheduledTimer(withTimeInterval: 1.0, repeats: false) { (timer) in
            let rootVC = SampleListActivity(style: .plain)
            let keyWindow = UIApplication.shared.windows.first
            keyWindow?.rootViewController = rootVC
        }
    }
}
